package com.xingkeduo.feign;

import com.xingkeduo.util.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @Description TODO
 * @Date 2019/5/16 15:08
 * @Created 情绪十分不稳定的Shadow
 */

@FeignClient(value = "thirdparty-channel", configuration = FeignConfig.class)
public interface ThirdPartyChannelService {


    //口碑查询商品ID
    @GetMapping("/koubei/coupons/check")
    String koubeiCouponsCheck(@RequestParam(value = "shopid")String shopid, @RequestParam(value = "code")String code);

    //美团点评查询
    @GetMapping("/dianping/coupons/check")
    String dianpingCouponsCheck(@RequestParam(value = "shopid")String shopid, @RequestParam(value = "code")String code);

}
